
import {defineStore} from "pinia";

export const useUserStore:any = defineStore('user', {
    state:()=>{
        return {
            userinfo:{},//公共数据存储
        }
    },
    persist:{
        storage:sessionStorage,
    }
})